package Program;

public class program {

	public static void main(String[] args) {
		Rectangle rect= new Rectangle();
		Traingle trgl=new Traingle();
		rect.setValues(4, 5);
		trgl.setValues(4, 5);
		System.out.println("rect:"+ rect.area());
		System.out.println("trgl:"+ trgl.area());
		}

	}

